package com.jingdianjichi.auth.application.convent;



import com.jingdianjichi.auth.application.dto.AuthRoleDto;
import com.jingdianjichi.auth.domain.entity.AuthRoleBo;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthRoleConvent {

     AuthRoleConvent INSERT = Mappers.getMapper(AuthRoleConvent.class);

    AuthRoleBo conventDtoToBo(AuthRoleDto authUserDto);

    List<AuthRoleBo> conventLIstToBO(List<AuthRoleDto> dtoList);

}
